package com.blood.modules.pregnancy.dto.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 孕产用户分页查询结果
 *
 * @author daoren
 * @date 2022-11-24 11:36:34
 */
@Data
@ApiModel(value = "孕产用户分页查询结果", description = "孕产用户分页查询结果")
public class PregnancyUserPageResp {
    @ApiModelProperty("业务id")
    private String id;
    @ApiModelProperty("姓名")
    private String name;
    @ApiModelProperty("联系方式")
    private String phone;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty("预产期")
    private Date dueDate;
    @ApiModelProperty("宫口扩张")
    private Double dilatancy;
    @ApiModelProperty("抬头下降")
    private Double decline;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("上次采集时间")
    private Date gatherTime;
    @ApiModelProperty("住院编号")
    private String hospitalNumber;
    @ApiModelProperty("状态（1正常，2预警，3危险，4已出院）")
    private Integer status;
    @ApiModelProperty("备注")
    private String remake;


    @ApiModelProperty("累计采集次数")
    private Integer totalNumber;
    @ApiModelProperty("正常次数")
    private Integer normalNumber;
    @ApiModelProperty("预警次数")
    private Integer earlyNumber;
    @ApiModelProperty("危险次数")
    private Integer riskNumber;

}
